<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>videoUI</title>
    <link rel="stylesheet" href="../../components/iconfont-br/iconfont.css">
    <link rel="stylesheet" href="../../src/css/jquery.videoUI.css">
    <style>
        .container .video-ui {
            width: 720px;
            height: 480px;
            margin: 10px auto;
        }
    </style>
</head>
<body>

<div class="container">
    <div class="video-ui"></div>
</div>

</body>
<script src="../../components/jquery/jquery-3.4.1.js"></script>
<script src="../../src/js/jquery.videoUI.js"></script>

<script>
    $(function () {
        let vui = $(".video-ui").videoUi({
            poster: "../../multimedia/images/poster_img.png",
            source: {
                src: "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4",
                // src: "http://vjs.zencdn.net/v/oceans.mp4",
                // src: "../../multimedia/videos/star.mp4",
                type: "video/mp4",
            },
        })
    });
    vui.pause();
</script>
</html>